home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / device-stream.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-07  |  1.2 KB  |  41 lines

  1. /* Define stream specific device object for XEmacs.
  2.    Copyright (C) 1995 Board of Trustees, University of Illinois
  3.    Copyright (C) 1995 Amdahl Corporation
  4.  
  5. This file is part of XEmacs.
  6.  
  7. XEmacs is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. XEmacs is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with XEmacs; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Synched up with: Not in FSF. */
  22.  
  23. /* Written by Ben Wing. */
  24.  
  25. #ifndef _XEMACS_DEVICE_STREAM_H_
  26. #define _XEMACS_DEVICE_STREAM_H_
  27.  
  28. #include "device.h"
  29.  
  30. DECLARE_DEVICE_TYPE (stream);
  31.  
  32. struct stream_device
  33. {
  34.   FILE *infd, *outfd, *errfd;
  35.   int needs_newline;
  36. };
  37.  
  38. #define DEVICE_STREAM_DATA(d) DEVICE_TYPE_DATA (d, stream)
  39.  
  40. #endif /* _XEMACS_DEVICE_STREAM_H_ */
  41.